import axios from '../utils/axios';
const baseURL = '/api/comment/';
//获取评论信息
export const getCommentApi = async (params:object) => {
    return axios.post(`${baseURL}getComment`,params)
  }
  // 更新评论状态
  export const updateCommentStateApi = async (params:object) => {
    return axios.post(`${baseURL}updateCommentStatus`,params)
  }
  
  // 删除评论
  export const deleteCommentApi = async (params:object) => {
    return axios.post(`${baseURL}deleteComment`,params)
  }